<template>
    <div>
         <yd-slider autoplay="3000">
        <yd-slider-item v-for="item in func" :key="item.id">
            <a :href="item.href">
                <img :src="item.url">
            </a>
        </yd-slider-item>
        
    </yd-slider>
    </div>
</template>
<script>
export default {
    props:["func"]
}
</script>
<style scoped>

</style>


